//
//  NetUrlDefines.h
//  RocketProject
//
//  Created by chen jiedan on 13-5-10.
//  Copyright (c) 2013年 Rocket. All rights reserved.
//

#ifndef RocketProject_NetUrlDefines_h
#define RocketProject_NetUrlDefines_h


#define kRCMerchantsListPrefix      @"op=app_nearby&action=nearby&cityid=%@&pn=%d&rn=%d&lat=%lf&lon=%lf&type=%@&distance=%d&order=%@"
#define kRCMerchantsDistrictPrefix  @"op=app_nearby&action=nearby&cityid=%@&pn=%d&rn=%d&lat=%lf&lon=%lf&type=%@&districtid=%@&order=%@"
#define kRCDiscountsListPrefix      @"op=app_nearby&action=discount&cityid=%@&pn=%d&rn=%d&lat=%lf&lon=%lf&type=%@&distance=%d&order=%@"


#define kRCMembersInfoUrlPrefix     @"op=member&action=detail"
#define kRCCityListInfoUrlPrefix    @"op=app_info&action=citylist"
#define kRCAllCityListUrlPrefix    @"op=app_member&action=citylist"

#define kRCAllCityUrlPrefix         @"op=app_info&action=wholecity&cityid=%@"
#define kRCCityCateforyUrlPrefix    @"op=app_info&action=hotcategory&cityid=%@"
#define kRCCityDistrictUrlPrefix    @"op=app_info&action=hotbusinessdistrict&cityid=%@"
#define kRCFeedbackUrlPrefix         @"op=app_member&action=myfeedback"
#define kRCOrderUrlPrefix            @"op=member&action=order"
#define kRCDiscountActiOrderPrefix   @"op=app_member&action=submitactivityorder"
#define kRCDiscountUrlPrefix         @"op=app_nearby&action=discount&cityid=%@&pn=%d&rn=%d&lat=%f&lon=%f&type=%d"

#define kRCCityIDCheckPrefix        @"op=app_info&action=citysearch&cityname=%@"


#define kRCLoginUrlPrefix            @"op=app_member&action=login"
#define kRCServerLoginUrlPrefix      @"op=app_shop&action=login"

#define kRCModifyPassUrlPrefix       @"op=member&action=modifypassword"
#define kRCUserBalancePrefix         @"op=member&action=balance&bduss=%@"
#define kRCUserConsumptionPrefix     @"op=member&action=consumption&bduss=%@&pn=%d&rn=%d"


//会员卡类型信息获取
#define kRCMemberCardInfo           @"op=app_info&action=cardlist&cityid=%@"
#define kRCApplyCardPrefix          @"op=app_info&action=applyforcard&bduss=%@&cardid=%d"
#define kRCStaffPrefix              @"op=app_info&action=forgoods&bduss=%@&goodsid=%@"

//手机号码注册
//(1)获取手机验证码
#define kRCPhoneRegVerfiyPrefix     @"op=app_member&action=sendphone&phone=%@"
//(2)提交手机验证码
#define kRCPhoneSubmitVerifyPrefix  @"op=app_member&action=checkicode&phone=%@&icode=%@"
//(3)填写注册昵称和密码
#define kRCFulfillNameWithPrefix    @"op=app_member&action=register"
//#define kRCEmailRegPrefix           @"op=app_member&action=register"

//个人中心页
//(1)头部header信息
#define kRCPersonInfoCount           @"op=app_member&action=mycenter&bduss=%@"
#define kRCOtherPersonInfoPrefix     @"op=app_member&action=otherscenter&otheruserid=%@&bduss=%@"
//(2)我的签到
#define kRCMyCheckInPrefix             @"op=app_member&action=mysignins&bduss=%@&pn=%d&rn=%d"
#define kRCOtherCheckInPrefix          @"op=app_member&action=otherssignins&userid=%@&pn=%d&rn=%d"

//(3)我的点评
#define kRCMyDianpingPrefix          @"op=app_member&action=myreviews&bduss=%@&pn=%d&rn=%d"
#define kRCOtherDianpingPrefix       @"op=app_member&action=othersreviews&userid=%@&pn=%d&rn=%d"

//(4)我的订单
#define kRCMyOrderPrefix          @"op=app_member&action=myorders&bduss=%@&type=%@&pn=%d&rn=%d"

//(5)我的收藏
#define kRCMyCollectPrefix          @"op=app_member&action=myfavorite&bduss=%@&pn=%d&rn=%d"
#define kRCOtherCollectPrefix       @"op=app_member&action=othersfavorite&userid=%@&pn=%d&rn=%d"

//（6）我的积分
#define kRCUserScorePrefix           @"op=app_member&action=myscorelist&bduss=%@&pn=%d&rn=%d"
//(7) 我的粉丝列表
#define kRCMyFansListPrefix          @"op=app_member&action=myfans&bduss=%@&pn=%d&rn=%d"
#define kRCOtherFansListPrefix          @"op=app_member&action=othersfans&userid=%@&pn=%d&rn=%d"

//（8）我的关注列表
#define kRCMyFollowListPrefix          @"op=app_member&action=myattentions&bduss=%@&pn=%d&rn=%d"
#define kRCOtherFollowListPrefix       @"op=app_member&action=othersattentions&userid=%@&pn=%d&rn=%d"
#define kRCScoreListPrefix       @"op=app_info&action=integralgoods&pn=%d&rn=%d"


//(9)我的照片
#define kRCMyPhotoPrefix          @"op=app_member&action=mypictures&bduss=%@&pn=%d&rn=%d"
#define kRCOtherPhotoPrefix          @"op=app_member&action=otherspictures&userid=%@&pn=%d&rn=%d"


//(10)我的私信列表
//op=app_member&action=notify
#define kRCMyNotifyPrefix               @"op=app_member&action=notify&bduss=%@&pn=%d&rn=%d"
#define kRCMyMailListPrefix             @"op=app_member&action=mymessage&bduss=%@&pn=%d&rn=%d"
#define kRCMessageDetailPrefix       @"op=app_member&action=mymessageinfo&bduss=%@&readname=%@"
#define kRCMyReplyPrefix               @"op=app_member&action=reply&bduss=%@&pn=%d&rn=%d"
#define kRCMessageSubmitUrlPrefix      @"op=app_member&action=submitmymessage"


//关注 和 取消关注
#define kRCPersonFollowOrCancelPrefix  @"op=app_member&action=op_attention&aid=%@&bduss=%@&status=%d"
#define kRCPersonEditInfoPrefix  @"op=app_member&action=submitupdate&nickname=%@&bduss=%@&sex=%d&cityid=%d"



//签到页面
#define kRCCheckInPrefix         @"op=app_nearby&action=signinshoplist&cityid=%@&lat=%@&lon=%@&pn=%d&rn=%d"
#define kRCCheckInSearchPrefix   @"op=app_nearby&action=searchshopname&cityid=%@&shopname=%@&lat=%@&lon=%@&pn=%d&rn=%d"




#define kRCRecommendFoodPrefix       @"op=app_nearby&action=foodlist&cityid=%@&pn=%d&rn=%d&lat=%lf&lon=%lf"
#define kRCRecommendResUrlPrefix     @"op=app_nearby&action=restaurantlist&cityid=%@&foodname=%@&pn=%d&rn=%d&lat=%lf&lon=%lf"
#define kRCSearchAllUrlPrefix     @"op=app_nearby&action=searchshopname&cityid=%@&shopname=%@&lat=%lf&lon=%lf"

//商户详情二级页面
#define kRCMerchantDetailPrefix      @"op=app_nearby&action=shopdetail&shopid=%@&lat=%lf&lon=%lf&bduss=%@"

#define kRCMerchantCommentListPrefix @"op=app_nearby&action=reviewlist&shopid=%@&pn=%d&rn=%d"

#define kRCMerchantSigninListPrefix @"op=app_nearby&action=signinlist&shopid=%@&pn=%d&rn=%d"

#define kRCMerchantDetailTrafficPrefix @"op=app_nearby&action=moreinfos&shopid=%@"

#define kRCMerchantDetailOtherShopPrefix      @"op=app_nearby&action=othershoplist&shopid=%@&lat=%lf&lon=%lf"

#define kRCMerchantDetailSubmitErrorPrefix        @"op=app_nearby&action=submiterror"

#define kRCMerchantDetailWriteSigninPrefix     @"op=app_nearby&action=submitsignin"

#define kRCMerchantDetailWriteCommentPrefix     @"op=app_nearby&action=submitreview"

#define kRCMerchantAddFavouritePrefix        @"op=app_member&action=submitfavorite&shopid=%@&bduss=%@"

#define kRCMerchantDeleteFavouritePrefix        @"op=app_member&action=delfavorite&shopid=%@&bduss=%@"

//美食推荐

#define kRCRecommendFoodTypeListPrefix           @"op=app_info&action=foodcategory"

#define kRCRecommendFoodListPrefix      @"op=app_nearby&action=foodlist&cityid=%@&pn=%d&rn=%d&lat=%lf&lon=%lf&type=%@&distance=%d&order=%@"
#define kRCRecommendFoodDetailPrefix    @"op=app_nearby&action=foodinfos&id=%@&lat=%lf&lon=%lf&bduss=%@"


#define kRCToplistTypePrefix          @"op=app_nearby&action=topcategory&cityid=%@"

#define kRCToplistDetailPrefix          @"op=app_nearby&action=topshoplist&cityid=%@&type=%@&pn=%d&rn=%d&lat=%@&lon=%@"

#define kRCToplistMoreTypePrefix    @"op=app_nearby&action=topmore&typeid=%@&cityid=%@"

#define kRCActivityDetailPrefix    @"op=app_nearby&action=discountinfos&id=%@&lat=%lf&lon=%lf&bduss=%@"

#define kRCActivityCommitPrefix        @"op=app_member&action=submitorder"

#define kRCMerchantPictureAlbumPrefix   @"op=app_photo&action=shopphoto&shopid=%@&pn=%d&rn=%d"

#define kRCMerchantPictureSubAlbumPrefix   @"op=app_photo&action=photolist&shopid=%@&typeid=%@&pn=%d&rn=%d"

#define kRCMerchantPhotoUploadWithoutType     @"op=app_photo&action=categorypic&shopid=%@"

#define kRCMerchantPhotoUploadWithType       @"op=app_photo&action=categorypic&shopid=%@&typeid=%@"

#define kRCMerchantPhotoUploadFile       @"op=app_photo&action=photoupload"

//添加商户

#define kRCMerchantAddPrefix             @"op=app_nearby&action=addshop"

#define kRCMerchantOrderPrefix           @"op=app_member&action=onlineorder&shopid=%@&bduss=%@"

//首页消息推送

#define kRCPushMessagePrefix     @"op=app_nearby&action=pushmsg&cityid=%@"

/**********商户宝 网络请求URL*****************/
//订单列表管理
#define kRCOrderListManagerPrefix  @"op=app_shop&action=orderlist&shopbduss=%@&shopid=%@&status=%d&pn=%d&rn=%d"
//评价列表
#define kRCCommentListManagerPrefix  @"op=app_shop&action=reviewlist&shopbduss=%@&shopid=%@&status=%d&pn=%d&rn=%d"
//印象列表
#define kRCImpressiveListManagerPrefix  @"op=app_shop&action=impressionlist&shopbduss=%@&shopid=%@&status=%d&pn=%d&rn=%d"
//活动列表
#define kRCActivityListManagerPrefix  @"op=app_shop&action=activitylist&shopbduss=%@&shopid=%@&status=%d&pn=%d&rn=%d"
//活动报名列表
#define kRCDetailAttendListManagerPrefix  @"op=app_shop&action=activityorderlist&shopbduss=%@&aid=%@&status=%d&pn=%d&rn=%d"

//获取待审核图片列表
#define kRCWaitingCheckPicsListPrefix       @"op=app_shop&action=shoppiclist&shopbduss=%@&shopid=%@&pn=%d&rn=%d"
//图片审核提交接口
#define kRCPicStateUpdatePrefix  @"op=app_shop&action=updateshoppic&shopbduss=%@&shopid=%@&id=%@&status=%d"
//印象状态变更提交接口
#define kRCImpressiveStateUpdatePrefix  @"op=app_shop&action=updateimpression&shopbduss=%@&shopid=%@&id=%@&status=%d"
//评价管理状态变更提交接口
#define kRCCommentStateUpdatePrefix  @"op=app_shop&action=updatereview&shopbduss=%@&shopid=%@&id=%@&status=%d"
//订单详情
#define kRCOrderDetailInfoPrefix  @"op=app_shop&action=orderinfo&shopbduss=%@&orderid=%@"
#define kRCActivityOrderInfoDetailInfoPrefix  @"op=app_shop&action=activityorderinfo&shopbduss=%@&dataid=%@"

#define kRCOrderDelPrefix  @"op=app_shop&action=delorder&shopbduss=%@&shopid=%@&orderid=%@"
#define kRCActivityAttendDelPrefix  @"op=app_shop&action=delactivityorder&shopbduss=%@&dataid=%@"

#define kRCOrderNoticePrefix  @"op=app_shop&action=sendsms"
#define kRCActivityNoticePrefix  @"op=app_shop&action=sendactivitysms"

#define kRCOrderUpdatePrefix  @"op=app_shop&action=updateorder"
#define kRCActivityUpdatePrefix  @"op=app_shop&action=updateactivityorder"


//店铺管理详情页
#define kRCShopManagerDetailPrefix       @"op=app_shop&action=shopinfo&shopbduss=%@&shopid=%@"

//店铺管理修改

#define kRCShopManageDetailModifyPrefix   @"op=app_shop&action=updateshop"

#define kActiveInfoDetailPrefix @"op=app_shop&action=activityinfo&shopbduss=%@&aid=%@"

//积分商城
#define kRCPointsShopListPrefix      @"op=app_info&action=integralgoods&pn=%d&rn=%d"
#define kRCPointsChangeDetailPrefix  @"op=app_info&action=integralgoodsinfo&goodsid=%@"

#define kRCChangeReviewDetailPrefix @"op=app_info&action=morereview&goodsid=%@"

#define kRCChangeRecordDetailPrefix @"op=app_info&action=morechange&goodsid=%@"

#define kRCChangeOrderDetailPrefix  @"op=app_info&action=pointdata&goodsid=%@&bduss=%@"

#define kRCChangeCommitOrderPrefix  @"op=app_info&action=forgoods"


//火车点 列表
#define kTrainPortListPrefix @"op=app_huoche&action=getcity"
#define kAirPortListPrefix @"op=app_plane&action=getcity"

#define kTrainListPrefix @"op=app_huoche&action=trainsearch&from=%@&to=%@&time=%@&traintype=%d&tickettype=%d&starttime=%d&endtime=%d&timesort=%d&pricesort=%d"
#define kPlaneListPrefix @"op=app_plane&action=flightinfo&bduss=%@&fromcity=%@&tocity=%@&fromdate=%@&carbins=%d&type=%d&time=%d&timesort=%d&pricesort=%d"

#define kTrainOrderDetailInfoPrefix    @"op=app_huoche&action=getseatlist&from=%@&to=%@&time=%@&traincode=%@&bduss=%@"

#define kCommitTrainOrderPrefix     @"op=app_huoche&action=trainsubmit"

#define kFlyOrderDetailInfoPrefix    @"op=app_plane&action=updatecarbins&fromcity=%@&tocity=%@&fromdate=%@&airline=%@&bduss=%@&type=1"

#define kCommitFlyOrderPrefix      @"op=app_plane&action=submitplanes"


#endif
